package indi.kider.server.applet.service;

import indi.kider.common.model.apartment.Community;
import indi.kider.common.model.apartment.HouseApplet;
import indi.kider.server.applet.model.User;

import java.util.List;
import java.util.Map;

public interface HouseService {
    List<Community> getCommunity() throws Exception;

    List<Map> getHouse(HouseApplet houseApplet,User user) throws Exception;

    String houseIn(HouseApplet houseApplet,User user) throws Exception;

    List<Map> houseInList(User user) throws Exception;

    Map<String, Object> getHouseUserCntMap(Long houseId) throws Exception;

    List<Map> getSameHouseTenantInfoList(HouseApplet houseApplet) throws Exception;

}
